package com.farm.controller;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.farm.service.InsertService;

@Controller
public class InsertController {
	
	@Autowired
	private InsertService insertService;
	
	//签到插入,查询签到人员信息和会议信息
	@ResponseBody
	@RequestMapping("/selectInsert.do")
	public Map articleArray(@RequestParam Map<String,Object> map,HttpServletRequest request) {
		Map<String, Object> insert = insertService.insert(map);
		return insert;
		
	} 
	
	

}
